package com.example.rjxmgl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.rjxmgl.entity.dos.Leave;
import com.example.rjxmgl.utils.ResultMessage;

/**
 * 请假表
 *
 * @author khai 951992121@qq.com
 * @since 1.0.0 2024-12-05
 */
public interface LeaveService extends IService<Leave> {

    ResultMessage studentAskForLeave(Leave leave);

    ResultMessage headTeacherGetList(Long headTeacherId);

    ResultMessage headTeacherCheck(Long leaveId, boolean result);

    ResultMessage CounselorGetList(Long counselorId);

    ResultMessage counselorCheck(Long leaveId, boolean result);

    ResultMessage studentGetList(Long studentId);
}